home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995 August: Tool Chest / Dev.CD Aug 95 TC / Dev.CD Aug 95 TC.toast / New System Software Extensions / QuickDraw™ 3D 1.0 / Development / Interfaces / QD3DAcceleration.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-06-02  |  2.0 KB  |  67 lines  |  [TEXT/MPS ]

  1. /******************************************************************************
  2.  **                                                                             **
  3.  **     Module:        QD3DAcceleration.h                                         **
  4.  **                                                                          **
  5.  **                                                                          **
  6.  **     Purpose:     Header file for low-level 3D driver API                     **
  7.  **                 Vendor IDs, and Apple's engine IDs                         **
  8.  **                                                                          **
  9.  **                                                                          **
  10.  **                                                                          **
  11.  **     Copyright (C) 1994-95 Apple Computer, Inc.  All rights reserved.     **
  12.  **                                                                          **
  13.  **                                                                          **
  14.  *****************************************************************************/
  15. #ifndef QD3DAcceleration_h
  16. #define QD3DAcceleration_h
  17.  
  18. #ifndef QD3D_h
  19. #include "QD3D.h"
  20. #endif  /*  QD3D_h  */
  21.  
  22. #if PRAGMA_ONCE
  23.     #pragma once
  24. #endif
  25.  
  26. #ifdef __cplusplus
  27. extern "C" {
  28. #endif
  29.  
  30. /******************************************************************************
  31.  **                                                                             **
  32.  **                         Vendor ID definitions                             **
  33.  **                                                                             **
  34.  *****************************************************************************/
  35.  
  36. /*
  37.  * If kQAVendor_BestChoice is used, the system chooses the "best" drawing engine
  38.  * available for the target device. This should be used for the default.
  39.  */
  40.  
  41. #define kQAVendor_BestChoice        (-1)
  42.  
  43. /*
  44.  * The other definitions (kQAVendor_Apple, etc.) identify specific vendors
  45.  * of drawing engines. When a vendor ID is used in conjunction with a
  46.  * vendor-defined engine ID, a specific drawing engine can be selected.
  47.  */
  48.  
  49. #define kQAVendor_Apple            0
  50. #define kQAVendor_ATI            1
  51. #define kQAVendor_Radius        2
  52.  
  53. /******************************************************************************
  54.  **                                                                             **
  55.  **                         Apple's engine ID definitions                         **
  56.  **                                                                             **
  57.  *****************************************************************************/
  58.  
  59. #define kQAEngine_AppleHW        (-1)    /* Apple accelerator */
  60. #define kQAEngine_AppleSW        0        /* Default software rasterizer */
  61.  
  62. #ifdef __cplusplus
  63. }
  64. #endif
  65.  
  66. #endif /* QD3DAcceleration_h */
  67.